package com.zc.angelica.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zc.angelica.entity.LastingLogin;
import com.zc.angelica.entity.ResponseData;

/**
 * 持久化登录(LastingLogin)表服务接口
 *
 * @author makejava
 * @since 2022-04-10 18:34:43
 */
public interface LastingLoginService extends IService<LastingLogin> {

    /**
     * 新增持久化信息
     * */
    ResponseData addLastingLogin(LastingLogin lastingLogin);

    /**
     * 修改持久化信息
     * */
    ResponseData updateLastingLogin(LastingLogin lastingLogin);

    /**
     * 强制登出
     * */
    ResponseData forcedLogout(Long id);
}

